package com.sc.VenusQueryBeta.contract.home.tabs;

import com.sc.VenusQueryBeta.model.bean.home.VipListBean;

import io.reactivex.Observable;

/**
 * Created by SC-02 on 2018/9/
 * 贵宾契约
 */

public interface GuiBInContract {
    abstract class GuiBInPresenter extends BaseTabsContract.BaseTabsPresenter<IGuiBInModel, IGuiBInView, Object> {
        //获取vip列表数据
        public abstract void getVipListData(int type);

        public abstract void getVipListData1(int type);
    }

    interface IGuiBInModel extends BaseTabsContract.IBaseTabsModel {
        /**
         * 获取vip列表
         * @param type 类型
         * @return
         */
        Observable<VipListBean> getVipList(int type);

        Observable<VipListBean> getVipList1(int type);
    }

    interface IGuiBInView extends BaseTabsContract.IBaseTabsView<Object> {
        /**
         * 展示vip列表数据
         * @return 数据
         */
        void showVipListDataSuccess(VipListBean vipListBean);

        void showVipListDataSuccess1(VipListBean vipListBean);

        void showNetworkError();
    }
}
